package com.koo.modules.bja.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 批次库存数据上传
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:07:33
 */
@Data
@ApiModel("批次库存数据上传")
@TableName("bja_upload_stock_data")
public class BjaUploadStockDataEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long inventoryId;


    @ColumnWidth(11)
    @ExcelProperty("货号")
    @ApiModelProperty(value = "货号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("商品名")
    @ApiModelProperty(value = "商品名")
    private String productName;

    @ColumnWidth(11)
    @ExcelProperty("通用名")
    @ApiModelProperty(value = "通用名")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("规格")
    @ApiModelProperty(value = "规格")
    private String standard;

    @ColumnWidth(11)
    @ExcelProperty("单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @ColumnWidth(11)
    @ExcelProperty("产地")
    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ColumnWidth(11)
    @ExcelProperty("生产单位")
    @ApiModelProperty(value = "生产单位")
    private String produceFactory;

    @ColumnWidth(11)
    @ExcelProperty("批准文号")
    @ApiModelProperty(value = "批准文号")
    private String approvalNo;

    @ColumnWidth(11)
    @ExcelProperty("剂型")
    @ApiModelProperty(value = "剂型")
    private String dosageForm;

    @ColumnWidth(11)
    @ExcelProperty("生产日期")
    @ApiModelProperty(value = "生产日期")
    private String produceDate;

    @ColumnWidth(11)
    @ExcelProperty("有效期至")
    @ApiModelProperty(value = "有效期至")
    private String expiryDate;

    @ColumnWidth(11)
    @ExcelProperty("批号")
    @ApiModelProperty(value = "批号")
    private String batchNo;

    @ColumnWidth(11)
    @ExcelProperty("库存数量")
    @ApiModelProperty(value = "库存数量")
    private BigDecimal stockCount;

    @ColumnWidth(11)
    @ExcelProperty("采购数量")
    @ApiModelProperty(value = "采购数量")
    private BigDecimal purchaseCount;

    @ColumnWidth(11)
    @ExcelProperty("采购单价")
    @ApiModelProperty(value = "采购单价")
    private BigDecimal purchasePrice;

    @ColumnWidth(11)
    @ExcelProperty("采购金额")
    @ApiModelProperty(value = "采购金额")
    private BigDecimal purchaseFee;

    @ColumnWidth(11)
    @ExcelProperty("入库人id")
    @ApiModelProperty(value = "入库人id")
    private Long operatorId;

    @ColumnWidth(11)
    @ExcelProperty("入库人")
    @ApiModelProperty(value = "入库人")
    private String operator;

    @ColumnWidth(11)
    @ExcelProperty("入库单号")
    @ApiModelProperty(value = "入库单号")
    private String inspectionOrderNo;

    @ColumnWidth(11)
    @ExcelProperty("批次单号(入库明细单号)")
    @ApiModelProperty(value = "批次单号(入库明细单号)")
    private String lotNo;


}
